package top.healthylife.gateway.platform.br.dto.basicdata.mediaaccessindex.res;


import cn.hutool.core.lang.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import top.healthylife.gateway.dto.annotation.ApiField;
import top.healthylife.gateway.platform.br.dto.baseresult.BrResBaseResultDto;

/**
 * @author : 高则喜
 * @Date 2020/12/23 11:40
 */
@Data
@Accessors(chain = true)
@ApiModel("媒体阅览指数")
public class BrResMediaAccessindexDto extends BrResBaseResultDto {

    @ApiField(value = "产品查询标识 " , info = "1 查询成功_有结果，0 查询成功_无结果， 99 查询失败 ")
    @ApiModelProperty(value="产品查询标识 ",example="1 查询成功_有结果，0 查询成功_无结果， 99 查询失败 ")
    private Flag flag;


    @ApiField(value = "媒体阅览指数" , info = " ")
    @ApiModelProperty(value="媒体阅览指数",example=" ")
    private MediaC mediaC;

    @ApiField(value = "媒体阅览指数类目映射表" , info = " ")
    @ApiModelProperty(value="媒体阅览指数类目映射表",example=" ")
    private Dict dict;

    public Dict getDict() {
        dict= CATEGORY;
        return dict;
    }

    static Dict CATEGORY;

    /**
     * 百融媒体阅览指数类目
     * 序号,中文类别名
     */
     static {
        CATEGORY =Dict.create();
        CATEGORY.put("C1", "财经");
        CATEGORY.put("C2", "彩票");
        CATEGORY.put("C3", "动漫");
        CATEGORY.put("C4", "房产");
        CATEGORY.put("C5", "户外");
        CATEGORY.put("C6", "IT");
        CATEGORY.put("C7", "健康");
        CATEGORY.put("C8", "军事");
        CATEGORY.put("C9", "交友");
        CATEGORY.put("C10","教育");
        CATEGORY.put("C11","历史");
        CATEGORY.put("C12","旅游");
        CATEGORY.put("C13","美食");
        CATEGORY.put("C14","母婴/育儿");
        CATEGORY.put("C15","女性时尚");
        CATEGORY.put("C16","汽车");
        CATEGORY.put("C17","其他");
        CATEGORY.put("C18","生活");
        CATEGORY.put("C19","手机");
        CATEGORY.put("C20","数码");
        CATEGORY.put("C21","视频");
        CATEGORY.put("C22","社区");
        CATEGORY.put("C23","体育");
        CATEGORY.put("C24","文学艺术");
        CATEGORY.put("C25","新闻");
        CATEGORY.put("C26","娱乐");
        CATEGORY.put("C27","影视");
        CATEGORY.put("C28","邮箱");
        CATEGORY.put("C29","游戏");
        CATEGORY.put("C30","应用");
        CATEGORY.put("C31","音乐");
        CATEGORY.put("C32","支付");
        CATEGORY.put("C33","招聘");
        CATEGORY.put("C34","知识问答");
    }
}
